package cn.wolfcode.domain;

import com.alibaba.fastjson.JSON;
import lombok.*;

import java.util.HashMap;

//字典明细
@Setter
@Getter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Systemdictionaryitem {
    private Long id;
    private Long parent_id;
    private String title;
    private Integer sequence;

    public  String getJson(){
        HashMap<String, Object> map = new HashMap<>();
        map.put("id",id);
        map.put("parent_id",parent_id);
        map.put("title",title);
        map.put("sequence",sequence);

        return JSON.toJSONString(map);

    }


}